<%@ taglib uri="/WEB-INF/out-tabs.tld" prefix="out" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<table  class="table">
	<tr>
		<th>Event</th>
		<th>Title</th>
		<th>Estado</th>
	</tr>
	<c:forEach items="${events}" var="event">
	<c:url value="/image/80/80/${event.picture}" var="img_src"/>
	<c:url value="/edit-event/${event.id}" var="edition_url"></c:url>
	<tr>
		<td><img src="${img_src}"/></td>
		<td><a href="${edition_url}">${event.title}</a></td>
		<td>${event.state}</td>		
	</tr>
	</c:forEach>
</table>
